package com.yycx.module.marketing.provider.handler;

import com.yycx.common.base.entity.EntityMap;
import com.yycx.common.base.utils.FlymeUtils;
import com.yycx.common.mybatis.model.PageParams;
import com.yycx.common.mybatis.model.ResultBody;
import com.yycx.common.mybatis.query.CriteriaQuery;
import com.yycx.common.security.OpenHelper;
import com.yycx.module.marketing.client.entity.MkgCoupon;
import com.yycx.module.marketing.client.entity.MkgCouponUser;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 用户优惠券列表(含有产品分类逻辑)
 *
 * @author zyf
 */
@Component
public class UserCouponListByProductHandler extends BaseUserCouponListHandler {


    @Override
    public ResultBody validate(CriteriaQuery cq, EntityMap params) {
        return ResultBody.ok();
    }

    @Override
    public void prepare(CriteriaQuery<MkgCouponUser> cq, PageParams pageParams, EntityMap params) {
        super.prepare(cq, pageParams, params);
    }

    @Override
    public void complete(CriteriaQuery<MkgCouponUser> cq, List<EntityMap> result, EntityMap extra) {

    }

}
